﻿@{
    ViewBag.Title = "CustomMonthWeek";
    Layout = "~/Views/Shared/_Page.cshtml";
}

<h2>Custom Month Week</h2>

<script type="text/javascript">
    window.onload = function () {
        var now = new Date();
        
        var fullMonths = ['January', 'February', 'March', 'April', 'May',
                        'June', 'July', 'August', 'September',
                        'October', 'November', 'December'];

        var acronMonths = ['Jan', 'Feb', 'Mar', 'Apr', 'May',
                        'Jun', 'Jul', 'Aug', 'Sep',
                        'Oct', 'Nov', 'Dec'];

        ZEUS.DEBUG.log("full month of today: " + fullMonths[now.getMonth()]);
        ZEUS.DEBUG.log("acronym month of today: " + acronMonths[now.getMonth()]);

        var fullDays = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];
        var acronDays = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'];
        ZEUS.DEBUG.log("full day of week of today: " + fullDays[now.getDay()]);
        ZEUS.DEBUG.log("acronym day of week of today: " + acronDays[now.getDay()]);
    }
</script>


